/**********************************************************
 * Admin.java.java 
 * Created by Ashutosh
 * Last modified Date: Sep 18, 2008 10:57:52 AM by Ashutosh
 * Revision: <svn revision #> 
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

import java.util.HashSet;
import java.util.Set;

/**
 * Admin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	/** The id. */
	private Integer id;
	
	/** The username. */
	private String username;
	
	/** The password. */
	private String password;
	
	/** The bid find password. */
	private String bidFindPassword;
	
	/** The letterses. */
	private Set letterses = new HashSet(0);

	// Constructors

	/**
	 * default constructor.
	 */
	public Admin() {
	}

	/**
	 * minimal constructor.
	 * 
	 * @param username the username
	 * @param password the password
	 */
	public Admin(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/**
	 * full constructor.
	 * 
	 * @param role the role
	 * @param username the username
	 * @param password the password
	 * @param letterses the letterses
	 */
	public Admin( String username, String password, Set letterses) {
		this.username = username;
		this.password = password;
		this.letterses = letterses;
	}

	// Property accessors

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * Sets the id.
	 * 
	 * @param id the new id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	
	/**
	 * Gets the username.
	 * 
	 * @return the username
	 */
	public String getUsername() {
		return this.username;
	}

	/**
	 * Sets the username.
	 * 
	 * @param username the new username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * Gets the password.
	 * 
	 * @return the password
	 */
	public String getPassword() {
		return this.password;
	}

	/**
	 * Sets the password.
	 * 
	 * @param password the new password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Gets the letterses.
	 * 
	 * @return the letterses
	 */
	public Set getLetterses() {
		return this.letterses;
	}

	/**
	 * Sets the letterses.
	 * 
	 * @param letterses the new letterses
	 */
	public void setLetterses(Set letterses) {
		this.letterses = letterses;
	}

	/**
	 * Gets the bid find password.
	 * 
	 * @return the bidFindPassword
	 */
	public String getBidFindPassword() {
		return bidFindPassword;
	}

	/**
	 * Sets the bid find password.
	 * 
	 * @param bidFindPassword the bidFindPassword to set
	 */
	public void setBidFindPassword(String bidFindPassword) {
		this.bidFindPassword = bidFindPassword;
	}
}